package com.school.controller;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.school.util.Message;
import com.school.util.RepUtil;

@Controller
public class HljtNewsaddressController {

	
	
	/**
	 * 
	 * @param type
	 * @param pageSize
	 * @param pageIndex
	 * @param rep
	 * @return
	 */
	@RequestMapping("/slectjournalism")
	@ResponseBody
	public Message Journalism(String type,Integer pageSize,Integer  pageIndex,HttpServletResponse rep){
		RepUtil.repPake(rep);
		Message Message=new Message();
		Map<String, Object> data =new HashMap<>();
	//	String newIp= "http://"+this.getIp()+":8080";
		
		if(null !=type) {
			
		}else {
			data.put("success", false);
		}
		Message.setData(data);
		return Message;
	}
}
